﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using kp.plotter;

namespace PortalTestExe
{
    public class MyKoordinator : kp.koordinator.contract.IKoordinator
    {


        #region IKoordinator Members

        public IEnumerable<System.Drawing.PointF> Berechne(string formel, double xMin, double xMax, int werteanzahl)
        {
            throw new NotImplementedException();
        }

        #endregion
    }

    public class MyPlotter : UserControl1, kp.plotter.contract.IPlotter
    {


        #region IPlotter Members

        public void ShowPlot(IEnumerable<System.Drawing.PointF> punkte)
        {
            throw new NotImplementedException();
        }

        public int Werteanzahl
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }

 




    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

            MyKoordinator koordinator = new MyKoordinator();
            MyPlotter plotter = new MyPlotter();
            Portal p = new Portal(koordinator, plotter);
            
            p.Show();

        }
    }
}
